﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp6
{
    class Base
    {
        private string heroName;
        private string heroInfo;
        private string nickName;
        private int atrack;
        private int protect;
        private int speed;

        public string HeroName
        {
            get { return this.heroName; }
            set { this.heroName = value; }
        }
        public string HeroInfo
        {
            get { return this.heroInfo; }
            set { this.heroInfo = value; }

        }

        public string NickName
        {
            get { return this.nickName; }
            set { this.nickName = value; }
        }
        public int Atrack
        {
            get { return this.atrack; }
            set { this.atrack = value; }

        }
        public int Protect
        {
            get { return this.protect; }
            set { this.protect = value; }

        }
        public int Speed
        {
            get { return this.speed; }
            set { this.speed = value; }

        }
        public Base(string heroName, string heroInfo, string nickName, int atrack, int protect, int speed)
        {
            this.heroName = heroName;
            this.heroInfo = heroInfo;
            this.nickName = nickName;
            this.atrack = atrack;
            this.protect = protect;
            this.speed = speed;


        }
    }
}